# !/usr/bin/env python
# -*- coding: utf-8 -*-
# @File  : 使用 LangServe 提供服务-客户端.py
# @Author: dongguangwen
# @Date  : 2025-03-23 16:37
from langserve import RemoteRunnable

remote_chain = RemoteRunnable("http://localhost:8000/chain")
ret = remote_chain.invoke({"language": "italian", "text": "hi"})
print(ret)

"""
Ciao
"""